#ifndef __INA226_H__
#define __INA226_H__

typedef enum
{
    E_INA226_SUCCESS = 0,
    E_INA226_HW_ERR = -1,
    E_INA226_CONFIG_ERR = -2,
}INA226_ErrTable;
INA226_ErrTable ina226Init(void);
float ina226GetCurrent(void);// unit : mA
float ina226GetVoltage(void);// unit : mV
#endif
